* xdisp.c (redisplay_window): No need to subtract BEGV to compute
authorJim Blandy <jimb@redhat.com>
Wed, 16 Jun 1993 14:13:15 +0000 (14:13 +0000)
committerJim Blandy <jimb@redhat.com>
Wed, 16 Jun 1993 14:13:15 +0000 (14:13 +0000)
the scroll bar handle's end.

src/xdisp.c

index e9777efee39c5c1c5f231fe7e065fb0c667f8f2a..f2da1dd25cefc4d00499441eb44f8fc5afa8177d 100644 (file)
@@ -1079,7 +1079,7 @@ done:
          start = startp - BEGV;
          /* I don't think this is guaranteed to be right.  For the
             moment, we'll pretend it is.  */
-         end = (Z - XINT (w->window_end_pos)) - BEGV;
+         end = (Z - XINT (w->window_end_pos));
 
          if (end < start) end = start;
          if (whole < (end - start)) whole = end - start;